Skip to content

feat(ui): add up/down arrow input history to chat#2

Open
brianleach wants to merge 5 commits intomainfrom
feat/chat-input-history
Open

feat(ui): add up/down arrow input history to chat#2
brianleach wants to merge 5 commits intomainfrom
feat/chat-input-history

Conversation

@brianleach
Copy link
Owner

Summary

  • Adds shell-like up/down arrow key navigation through previously sent messages in the web UI chat textarea
  • Saves current draft when navigating, restores it when cycling past the newest entry
  • Only activates on single-line input (multiline content uses arrows for normal cursor movement)
  • Deduplicates consecutive identical entries, caps history at 100 items

Test plan

  • Send several messages in the web UI chat
  • Press Up arrow to cycle back through sent messages
  • Press Down arrow to cycle forward, verify original draft restores
  • Verify multiline input (Shift+Enter) still uses arrows for cursor movement normally
  • Verify history persists across message sends within same session

🤖 Generated with Claude Code

brianleach and others added 5 commits February 25, 2026 20:25
The #if DEBUG check was unreliable for determining the APNs environment
because Xcode development provisioning profiles always produce sandbox
device tokens, even for Release builds. Now reads the aps-environment
entitlement from the embedded provisioning profile at runtime.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Previously the app only requested notification authorization lazily when
the gateway tried to deliver a push. Now it prompts immediately on first
launch so the user grants permission before notifications are needed.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant